﻿using FluentNHibernate.Mapping;
using AdventureWorks.Domain;
namespace AdventureWorks.DataAccess.Mappings
{
    public class BusinessEntityMapping : ClassMap<IBusinessEntity>
    {
        public BusinessEntityMapping()
        {
            Schema("Person");
            Table("BusinessEntity");
            Id(x => x.Id, "BusinessEntityId").GeneratedBy.Native();
        }
    }
}
